package events;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import Loganseabolt.LoganSeaboltModBase;
import cpw.mods.fml.common.ICraftingHandler;

public class HorseEvent2 implements ICraftingHandler {

	@Override
	public void onCrafting(EntityPlayer player, ItemStack item,
			IInventory craftMatrix) {
		 if (item.itemID == LoganSeaboltModBase.War_sword.itemID)
         {
                 player.addStat(LoganSeaboltModBase.WAR, 1);
         }
	}

	@Override
	public void onSmelting(EntityPlayer player, ItemStack item) {
		// TODO Auto-generated method stub

	}

}
